package com.ocom.common.entity.master;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "wechat_app_info")
public class EntityWechatAppInfo extends EntityBase implements Serializable {

    private static final long serialVersionUID = -9128856553433039033L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @JsonProperty("comId")
    private Long comId;
    @JsonProperty("merchId")
    private Long merchId;
    private String appid;
    private String appsecret;
    private String appName;
    private String remark;

    @TableField(exist = false)
    private Integer isAgent = 0;

    private String appPrivateKey;

    private String alipayPublicKey;

    private String alipayAes;


}
